package org.ssm.entity;

public class User {
	private String id;
	private String userName;
	private String passWord;
	private String age;
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassWord() {
		return passWord;
	}
	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	public User() {
		super();
	}
	public User(String userName, String passWord) {
		super();
		this.userName = userName;
		this.passWord = passWord;
	}
	
	public String toString(){
		return "年龄:"+this.age+"\n"+
				"编号:"+this.id+"\n"+
				"属性:"+this.passWord+"\n"+
				"账号:"+this.userName;
	}
	
	
}
